package com.sunny.design.command.ftp;

/**
 * FTP下载命令
 *
 * @author Sunny
 * @date 2020/3/16
 */
public class DownLoadCommand implements FTPCommand {
    private FTPService ftpService;

    public DownLoadCommand(FTPService ftpService) {
        this.ftpService = ftpService;
    }

    @Override
    public void execute() {
        ftpService.download();
    }
}
